package com.sudo.pojo;

import javax.persistence.*;

@Table(name = "sys_dict")
public class SysDict {
    /**
     * 乐观锁
     */
    @Id
    private Integer id;

    /**
     * 字典名称
     */
    @Column(name = "dictName")
    private String dictName;

    /**
     * 代码
     */
    @Column(name = "dictCode")
    private String dictCode;

    /**
     * 父级代码
     */
    @Column(name = "pCode")
    private String pCode;

    /**
     * 创建人
     */
    @Column(name = "createBy")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "createTime")
    private String createTime;

    /**
     * 更新人
     */
    @Column(name = "updateBy")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "updateTime")
    private String updateTime;

    /**
     * 备注
     */
    private String note;

    /**
     * 获取乐观锁
     *
     * @return id - 乐观锁
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置乐观锁
     *
     * @param id 乐观锁
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取备注
     *
     * @return note - 备注
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置备注
     *
     * @param note 备注
     */
    public void setNote(String note) {
        this.note = note;
    }
}